import sys

PYTHON_VERSION = sys.version[:3]
IS_WINDOWS = sys.platform == 'win32'

def arg(index, defaultValue=None):
    return sys.argv[index] if len(sys.argv) > index else defaultValue